<%
def sesUser = session?.user
%>
<div class="menu">
<ul>
	<%	if(sesUser) {	%>
	<li>
		<a href="dashboard.groovy">Dashboard</a>
	</li> 
	<li>
		<a href="transcationJQuery.groovy">Expenses</a>
	</li>
	<li>
		<a href="transcationSearch.groovy">Search</a>
	</li>
	<li>
		<a href="transcationTags.groovy">Tags</a>
	</li>
	<%	
		}
		if(sesUser && sesUser.id == 'vteial')	{
	%>
	<li>
		<a href="#">System<img src="images/down.png" border="0"/></a>
		<ul>
			<li><a href="appconfig.groovy">App Config</a></li>
			<% if(localMode) {	%>
			<li><a href="wydAppDatastore.groovy">App Datastore</a></li>
			<% } %>
			<li><a href="wydAppEcho.groovy">App Echo</a></li>
		</ul>
	</li>
	<%	}	%>
	<li>
		<a href="wydIndex.groovy"><img src="images/${application.appTheme}/icons/house_16x16.png" border="0"/></a>
	</li> 
</ul>
</div>
